Add native issue dependency and project workflow tools#2416
Open
ex-devo wants to merge 2 commits intogithub:mainfrom
Open
Add native issue dependency and project workflow tools#2416ex-devo wants to merge 2 commits intogithub:mainfrom
ex-devo wants to merge 2 commits intogithub:mainfrom
Conversation
- Adds issue dependency read operations so agents can inspect blockers and downstream blocked work through the issue read tool - Adds issue dependency write support so agents can create and remove native blocked-by relationships without relying on issue comments - Registers the dependency tool and updates tests and tool snapshots so the GitHub workflow exposes blocker management consistently
- Adds explicit issue and project item identifiers so workflow agents can connect issues, project items, sub-issues, and dependencies without parsing ambiguous response IDs - Adds safe issue label mutation so readiness labels can be added and removed without replacing unrelated labels - Adds project item updates by issue or pull request identity with batched field updates so Status and Priority changes no longer require brittle project item lookup steps - Adds project issue creation that creates the issue, adds it to the project, and applies initial Status and Priority for the common backlog workflow - Updates tool metadata and tests to document the safer GitHub workflow surface and preserve existing compatible paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
This adds higher-level GitHub workflow primitives for MCP clients that manage issue triage and Project V2 boards. The main use case is agent/backlog automation that needs to create an issue, add it to a project, set initial Status/Priority fields, adjust labels without replacing unrelated labels, and model issue dependency relationships without composing several lower-level REST/GraphQL calls client-side.
What Changed
issue_readfor issues blocked by another issue and issues blocking the current issue.issue_dependency_writefor adding and removingblocked_bydependency relationships.issue_label_writeso clients can add or remove selected issue labels while preserving unrelated labels.create_project_issueto create an issue, add it to a Project V2 board, and set initial Status/Priority fields in one workflow-oriented operation.Notes for Reviewers
mainbefore opening the PR.CONTRIBUTING.mdguidance directly.Test Plan
go test -v ./...because thegobinary is not installed in this environment.golangci-lint run/script/lintbecause the Go toolchain and linter are not installed in this environment.UPDATE_TOOLSNAPS=true go test ./...because thegobinary is not installed in this environment.script/generate-docsbecause the local toolchain needed by this repository is unavailable in this environment.